/* 引入本地字体 */
@font-face {
    font-family: 'Ma Shan Zheng';
    src: url('./fonts/Genshin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Ma Shan Zheng', '微软雅黑', 'PingFang SC', Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container {
    position: relative;
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('{{bgImagePath}}') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0); /* 调整透明度，与背景融合，同时不失层次 */
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}

.head-box {
    text-align: center;
    margin-bottom: 20px;
}

.head-box .title {
    font-size: 36px;
    color: #fff; /* 标题改为白色，更醒目 */
    margin: 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* 添加阴影，增强立体感 */
}

.head-box .sub-title {
    font-size: 20px;
    color: #ddd; /* 副标题改为浅灰色，更柔和 */
    font-style: italic;
    margin: 5px 0 0 0;
}

.help-group {
    font-size: 24px;
    font-weight: 600;
    color: #fff; /* 帮助标题改为白色 */
    margin: 30px 0 15px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* 边框改为浅色，更和谐 */
    padding-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.help-table {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


.help-table .td {
    flex: 0 1 calc(33.333% - 12px);
    max-width: 320px; 
    min-width: 200px; 
    
    box-sizing: border-box;
    background: rgba(153, 120, 120, 0.533)/* 调整背景颜色和透明度 */;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(2px); /* 添加模糊效果 */
    border: 1px solid rgba(255, 255, 255, 0.2); /* 添加边框，增加区分度 */
}

.help-table .td:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.48); /* 减淡阴影 */
}

.help-icon {
    width: 40px;
    height: 40px;
    background-size: cover;
    border-radius: 8px;
    margin-right: 10px;
    flex-shrink: 0;
}

.help-text {
    display: flex;
    flex-direction: column;
}

.help-title {
    font-size: 16px;
    color: #fff; /* 标题改为白色 */
    margin: 0;
    font-weight: 600;
}

.help-desc {
    font-size: 12px;
    color: #ededed; /* 描述改为浅灰色 */
    margin: 5px 0 0 0;
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .help-table .td {
        flex: 0 1 calc(50% - 10px);
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .help-table .td {
        flex: 0 1 100%;
        min-width: auto;
    }
}

footer {
    text-align: center;
    padding: 20px 0 10px 0;
    font-size: 20px;
    color: #ddd; /* 页脚改为浅灰色 */
}

footer small {
    font-style: italic;
}